/* eslint-disable */
'use strict'

const crypto = require('crypto')

module.exports = (orgin) => {
  if (!orgin) {
    return null
  }
  let hash = crypto.createHash('sha256')
  hash.update(orgin)
  return hash.digest('hex')
}
